gdk: Make gdk_drop_status() take preferred action
authorBenjamin Otte <otte@redhat.com>
Sun, 1 Mar 2020 17:50:15 +0000 (18:50 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 2 Mar 2020 03:43:56 +0000 (04:43 +0100)
commit7cd728a0ea3da812ea2b049cc79311a2349fd205
tree641b36a6854e128c65f05df1e1ed2c5223b6f436
parentc3fb6ca747c4f49c3e5a21c287baf37f1ab4676d
gdk: Make gdk_drop_status() take preferred action

This allows textview/text dnd to properly display a MOVE icon when in
the widget the drag started from but a COPY icon otherwise.
gdk/gdkdrop.c
gdk/gdkdrop.h
gdk/gdkdropprivate.h
gdk/wayland/gdkdrop-wayland.c
gdk/win32/gdkdrop-win32.c
gdk/x11/gdkdrop-x11.c
gtk/gtkdrop.c